package com.PMSys.Demain;

import java.util.Date;

public class Department {
	private Integer d_id; // ���ű��
	private String d_name; // ��������
	private Integer d_type; // ��������
	private String d_phone; // ���ŵ绰
	private String d_email; // ���Ŵ���
	private String d_describe;// ��������
	private Integer d_superiorId;// �ϼ�����ID
	private Date d_startDate;// ��������

	public Department() {
		
		this.d_id = 0;
		this.d_name = "";
		this.d_type = 0;
		this.d_phone = "";
		this.d_email = "";
		this.d_describe = "";
		this.d_superiorId = 0;
		this.d_startDate = null;
	}

	public Integer getD_id() {
		return d_id;
	}

	public void setD_id(Integer d_id) {
		this.d_id = d_id;
	}

	public String getD_name() {
		return d_name;
	}

	public void setD_name(String d_name) {
		this.d_name = d_name;
	}

	public Integer getD_type() {
		return d_type;
	}

	public void setD_type(Integer d_type) {
		this.d_type = d_type;
	}

	public String getD_phone() {
		return d_phone;
	}

	public void setD_phone(String d_phone) {
		this.d_phone = d_phone;
	}

	public String getD_email() {
		return d_email;
	}

	public void setD_email(String d_email) {
		this.d_email = d_email;
	}

	public String getD_describe() {
		return d_describe;
	}

	public void setD_describe(String d_describe) {
		this.d_describe = d_describe;
	}

	public Integer getD_superiorId() {
		return d_superiorId;
	}

	public void setD_superiorId(Integer d_superiorId) {
		this.d_superiorId = d_superiorId;
	}

	public Date getD_startDate() {
		return d_startDate;
	}

	public void setD_startDate(Date d_startDate) {
		this.d_startDate = d_startDate;
	}

	@Override
	public String toString() {
		return "Department [d_id=" + d_id + ", d_name=" + d_name + ", d_type=" + d_type + ", d_phone=" + d_phone + ", d_email=" + d_email + ", d_describe=" + d_describe + ", d_superiorId=" + d_superiorId + ", d_startDate=" + d_startDate + "]";
	}

}
